import express from 'express'
import userRoutes from './user.routes'
import requestRoutes from './request.routes'
import friendRoutes from './friend.routes'
import groupRoutes from './group.routes';
import messageRoutes from './message.routes';
const router = express.Router();

router.get('/', (req, res) => {
    res.send('Hello, world!')
})
router.use('/user', userRoutes);
router.use('/request', requestRoutes);
router.use('/friend', friendRoutes);
router.use('/group', groupRoutes);
router.use('/message', messageRoutes);

export default router;
